<li class="project_item">
	<a class="postthumbnail" href="#">	
    <?php 
    if(has_post_thumbnail())
    	the_post_thumbnail('medium');
    ?>
    </a>
    <div class="mask2">
    	<a href="<?php the_permalink();?>" title="<?php the_title();?>">
    		<img alt="<?php the_title();?>" src="<?php echo get_template_directory_uri();?>/images/view.png">
    	</a> 
    </div>
    <div class="mask">
    	<a href="<?php the_permalink();?>" title="<?php the_title();?>"><?php the_title();?></a>
    </div>
</li>